package library.and.xps.com.step.m.model;

import android.graphics.Color;

import java.io.Serializable;

import io.realm.Realm;
import io.realm.RealmObject;

public class Coordinate extends RealmObject {
    private double lat = 0;//经度
    private double lng = 0;//纬度
    private double altitude = 0; //海拔
    private double speed = 0;
    private int colorInSpeed = Color.BLUE;//速度对应的颜色

    private long marker = 1L;

    public double getLat() {
        return lat;
    }

    public double getSpeed() {
        return speed;
    }

    public void setSpeed(double speed) {
        this.speed = speed;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getAltitude() {
        return altitude;
    }

    public void setAltitude(double altitude) {
        this.altitude = altitude;
    }

    public int getColorInSpeed() {
        return colorInSpeed;
    }

    public void setColorInSpeed(int colorInSpeed) {
        this.colorInSpeed = colorInSpeed;
    }

    public long getMarker() {
        return marker;
    }

    public void setMarker(long marker) {
        this.marker = marker;
    }
}
